$f: 19.2;

.home {
  position: relative;
  width: 100%;
  overflow: hidden;

  .banner {
    position: relative;



    .position_img {
      position: absolute;
      width: 801/$f+vw;
      right: -18/$f+vw;
      bottom: -152/$f+vw;
      z-index: 2;
      height: 450/$f+vw;
      padding: 40/$f+vw;
      background-color: white;

      img,video {
        width: 100%;
        height: 100%;
      }
    }

    &::before {
      content: '';
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, .4);
    }

    img {
      width: 100%;
      display: block;
      object-fit: cover;
      height: 100vh;
    }

    .text {
      position: absolute;
      left: 12vw;
      top: 220/$f+vw;
      z-index: 10;
      width: fit-content;
      height: calc(100% - 11.5vw);
      .links {
        display: flex;

        a,
        p,
        span {
          color: rgba(255, 255, 255, .6);
          font-size: 24/$f+vw;
          text-transform: uppercase;
        }

        a {
          transition: all 600ms;

          &:hover {
            color: #E60012;
          }
        }

        span {
          margin: 0 1vw;
        }
      }

      .t1 {
        margin: 183/$f+vw 0 27/$f+vw 0;
        display: flex;

        p {
          color: #FFF;
          font-size: 20/$f+vw;
          text-transform: uppercase;
          margin-right: 32/$f+vw;
        }
      }

      .t2 {
        font-size: 64/$f+vw;
        color: white;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 48/$f+vw;
      }

      .tags {
        display: flex;

        p {
          padding: 11/$f+vw 27/$f+vw;
          background: #D9D9D9;
          font-size: 20/$f+vw;
          color: rgba(26, 32, 44, .5);
          text-transform: uppercase;
          margin-right: 6/$f+vw;
        }
      }

      .des {
        color: #FFF;
        font-size: 20/$f+vw;
        line-height: 2;
        width: 37vw;
        position: absolute;
        left: 0;
        bottom:40/$f+vw;
      }
    }
  }

  .main {
    .section1 {
      margin: 120/$f+vw 200/$f+vw;

      .t {
        color: rgba(26, 32, 44, 1);
        font-size: 64/$f+vw;
        font-weight: 600;

        &::before {
          width: 113/$f+vw;
          height: 4/$f+vw;
          content: '';
          display: block;
          background: #E60012;
          margin-bottom: 36/$f+vw;
        }
      }

      .allItems {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;

        .item {
          width: 48%;
          margin-top: 100/$f+vw;

          .pic {
            overflow: hidden;

            img {
              width: 100%;
              display: block;
              object-fit: cover;
              transition: all 600ms;
            }

            &:hover {
              img {
                transform: scale(1.05)
              }
            }
          }

          .text {
            margin: 30/$f+vw 0;

            .p1 {
              color: #3979C0;
              font-size: 20/$f+vw;
              font-weight: 600;
              text-transform: uppercase;
              margin-bottom: 15/$f+vw;
            }

            .des {
              color: #000;
              font-size: 16/$f+vw;
              line-height: 2;
            }
          }
        }
      }
    }

    .section2 {
      margin: 120/$f+vw 200/$f+vw;

      .t {
        color: rgba(26, 32, 44, 1);
        font-size: 64/$f+vw;
        font-weight: 600;

        &::before {
          width: 113/$f+vw;
          height: 4/$f+vw;
          content: '';
          display: block;
          background: #E60012;
          margin-bottom: 36/$f+vw;
        }
      }

      .t2 {
        font-size: 40/$f+vw;
        color: rgba(26, 32, 44, 1);
        font-weight: 500;
        text-transform: uppercase;
        margin: 60/$f+vw 0;
      }

      .html {
        img {
          max-width: 100%;
          display: block;
        }
      }
    }

    .section3 {
      margin: 120/$f+vw 200/$f+vw;

      .box {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .t {
          color: rgba(26, 32, 44, 1);
          font-size: 64/$f+vw;
          font-weight: 600;

          &::before {
            width: 113/$f+vw;
            height: 4/$f+vw;
            content: '';
            display: block;
            background: #E60012;
            margin-bottom: 36/$f+vw;
          }
        }

        .des {
          color: #505050;
          font-size: 20/$f+vw;
          line-height: 2;
          text-transform: capitalize;
          width: 55%;
        }
      }

      .allIcons {
        margin: 100/$f+vw 0;
        display: flex;
        justify-content: space-between;

        .item {
          text-align: center;

          .icon {
            margin-bottom: 40/$f+vw;

            img {
              max-width: 80/$f+vw;
              object-fit: contain;
            }
          }

          p {
            text-align: center;
            font-size: 20/$f+vw;
            font-weight: 300;
          }
        }
      }
    }

    .section4 {
      background: rgba(246, 246, 246, .5);
      padding: 120/$f+vw 200/$f+vw;
      display: flex;
      justify-content: space-between;

      .l {
        width: 48%;
        .t {
          color: rgba(26, 32, 44, 1);
          font-size: 64/$f+vw;
          font-weight: 600;
  
          &::before {
            width: 113/$f+vw;
            height: 4/$f+vw;
            content: '';
            display: block;
            background: #E60012;
            margin-bottom: 36/$f+vw;
          }
        }
        .list{
          margin-top: 88/$f+vw;
          a{
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 47/$f+vw;
            img{
              width: 41/$f+vw;
              display: block;
            }
            p{
              width: calc(98% - 2vw);
              color: #000;
              font-size: 32/$f+vw;
            }
          }
          a:last-child{
            margin-bottom: 0;
          }
        }
      }
      .r{
        width: 48%;
        overflow: hidden;
        img{
          width: 100%;
          display: block;
          object-fit: cover;
          transition: all 600ms;
        }
        &:hover{
          img{
            transform: scale(1.05);
          }
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    padding-top: 60px;

    .banner {
      img{
        height: 120vh;
      }
      .position_img {
        width: 70%;
        height: auto;
        bottom: 0;
      }

      .text {
        left: 5%;
        top: 60px;
        width: 90%;
        height: inherit;
        .links {
          flex-wrap: wrap;
          line-height: 1.6;
          a,
          p,
          span {
            font-size: 16px;
          }
        }

        .t1 {
          margin: 60px 0 20px 0;
         p{
          font-size: 18px;
          margin-right: 20px;
         }
        }

        .t2 {
          font-size: 24px;
          margin-bottom: 20px;
        }
        .tags{
          p{
            padding: 10px 20px;
            font-size: 16px;
            margin-right: 6px;
          }
        }
        .des{
          position: static;
          font-size: 16px;
          margin-top: 40px;
          width: 100%;
          line-height: 1.6;
        }
      }
    }

    .main {
      .section1{
        margin: 50px 5%;
        .t {
          font-size:28px;
  
          &::before {
            width: 60px;
            height: 2px;
            margin-bottom: 30px;
          }
        }
        .allItems{
          .item{
            width: 100%;
            margin-top: 30px;
            .text{
              margin: 20px 0;
              .p1{
                font-size: 20px;
              }
              .des{
                font-size: 16px;
              }
            }
          }
        }
      }
      .section2{
        margin: 50px 5%;
        .t {
          font-size:28px;
  
          &::before {
            width: 60px;
            height: 2px;
            margin-bottom: 30px;
          }
        }
        .t2{
          font-size: 18px;
          margin: 30px 0;
        }
      }
      .section3{
        margin: 50px 5%;
        .box{
          flex-direction: column;
          align-items: flex-start;
          .t {
            font-size:28px;
    
            &::before {
              width: 60px;
              height: 2px;
              margin-bottom: 30px;
            }
          }
          .des{
            font-size: 16px;
            width: 100%;
            margin-top: 20px;
          }
        }
        .allIcons{
          margin: 30px 0;
          flex-wrap: wrap;
          .item{
            width: 50%;
            margin-bottom: 20px;
            .icon{
              img{
              max-width: inherit;
              width: 40px;
              }
            }
            p{
              font-size: 16px;
              margin: 15px 0;
            }
          }
        }
      }
      .section4{
        padding: 50px 5%;
        flex-direction: column;
        .l{
          width: 100%;
          .t {
            font-size:28px;
    
            &::before {
              width: 60px;
              height: 2px;
              margin-bottom: 30px;
            }
          }
          .list{
            margin: 30px 0;
            a{
              margin-bottom: 20px;
              img{
                width: 30px;
              }
              p{
                width: calc(98% - 30px);
                font-size: 18px;
              }
            }
          }
        }
        .r{
          width: 100%;
        }
      }

      

    }
  }
}